home *** CD-ROM | disk | FTP | other *** search
Makefile | 1989-05-08 | 6.7 KB | 144 lines |
- #
- # Makefile for KA9Q TCP/IP package for NEC PC-9801 with Aztec C
- #
- #
-
- CFLAGS= -DMSDOS +LC -DPC9801
- AFLAGS= -DMODEL=1
-
- all: net98.exe
-
- .c.o:
- cc $(CFLAGS) -o $@ $*.c
-
- .asm.o:
- as $(AFLAGS) -o $@ $*.asm
-
- NETOBJS= telnet.o tnserv.o smisc.o \
- ftpserv.o ftpcli.o ftp.o smtpserv.o smtpcli.o \
- tcpcmd.o tcpuser.o tcptimer.o tcpout.o tcpin.o tcpsubr.o \
- udpcmd.o udp.o \
- ipcmd.o ip.o iproute.o \
- icmpcmd.o icmp.o \
- arpcmd.o arp.o \
- ax25cmd.o ax25user.o ax25.o ax25subr.o lapbtime.o lapb.o \
- ax_mbx.o \
- slip.o kiss.o \
- nrcmd.o nrs.o nr3.o nrsubr.o \
- nr4.o nr4subr.o nr4user.o nr4timer.o \
- iface.o timer.o ttydriv.o cmdparse.o mbuf.o alloc.o netuser.o \
- misc.o pathname.o audit.o files.o icmpmsg.o \
- fingcli.o fingserv.o
-
- NETDUMP = trace.o enetdump.o \
- ax25dump.o arpdump.o ipdump.o icmpdump.o udpdump.o tcpdump.o
-
- PCOBJS= pc.o dirutil.o eccmd.o ec.o ecvec.o pktdrvr.o pkvec.o enet.o \
- pc100.o pc100vec.o hapn.o \
- hapnvec.o 8250.o asyvec.o pcgen.o eagle.o eaglevec.o 8530.o
-
- HFILES= amiga.h arp.h ax_mbx.h ax25.h cmdparse.h config.h dir.h \
- ftp.h global.h icmp.h iface.h internet.h ip.h kiss.h lapb.h \
- mbuf.h netuser.h session.h slip.h smtp.h tcp.h telnet.h \
- timer.h trace.h udp.h
-
- net98.exe: pc.lib net.lib dump.lib makefile main.o version.o session.o
- ln -t -o net.exe main.o version.o session.o net.lib pc.lib dump.lib -lclc
-
- objects: $(NETOBJS) $(PCOBJS)
-
- net.lib: $(NETOBJS)
- lb net.lib $(NETOBJS)
-
- dump.lib: $(NETDUMP)
- lb dump.lib $(NETDUMP)
-
- pc.lib: $(PCOBJS)
- lb pc.lib $(PCOBJS)
-
- clean:
- del *.lib
- del *.o
- del *.exe
- del *.sym
-
- 8530.o: 8530.c global.h 8530.h
- arp.o: arp.c global.h mbuf.h timer.h iface.h enet.h ax25.h arp.h
- arpcmd.o: arpcmd.c global.h mbuf.h timer.h enet.h ax25.h arp.h cmdparse.h
- arpdump.o: arpdump.c global.h mbuf.h timer.h arp.h
- 8250.o: 8250.c global.h asy.h 8250.h iface.h
- ax_mbx.o: ax_mbx.c ax_mbx.h global.h mbuf.h ax25.h timer.h iface.h lapb.h cmdparse.h netrom.h nr4.h
- ax25.o: ax25.c global.h mbuf.h iface.h timer.h arp.h slip.h ax25.h lapb.h heard.h
- ax25cmd.o: ax25cmd.c global.h mbuf.h ax25.h timer.h iface.h lapb.h cmdparse.h session.h ax_mbx.h heard.h
- ax25dump.o: ax25dump.c global.h mbuf.h ax25.h timer.h lapb.h trace.h
- ax25subr.o: ax25subr.c global.h mbuf.h timer.h ax25.h lapb.h
- ax25user.o: ax25user.c global.h mbuf.h timer.h ax25.h lapb.h
- cmdparse.o: cmdparse.c global.h trace.h cmdparse.h
- eagle.o: eagle.c global.h mbuf.h iface.h eagle.h 8530.h ax25.h
- cc $(CFLAGS) -E300 eagle.c
- ec.o: ec.c global.h mbuf.h enet.h ec.h iface.h timer.h arp.h trace.h
- eccmd.o: eccmd.c global.h mbuf.h ec.h
- enet.o: enet.c global.h mbuf.h enet.h
- enetdump.o: enetdump.c global.h mbuf.h enet.h trace.h
- files.o: files.c global.h config.h
- fingcli.o: finger.h global.h mbuf.h timer.h internet.h icmp.h netuser.h tcp.h session.h
- fingserv.o: finger.h global.h mbuf.h timer.h internet.h icmp.h netuser.h tcp.h session.h
- ftp.o: ftp.c global.h mbuf.h netuser.h timer.h tcp.h ftp.h session.h
- ftpcli.o: ftpcli.c global.h mbuf.h netuser.h icmp.h timer.h tcp.h ftp.h session.h cmdparse.h
- ftpserv.o: ftpserv.c global.h mbuf.h netuser.h timer.h tcp.h ftp.h
- hapn.o: hapn.c global.h mbuf.h iface.h hapn.h ax25.h trace.h
- icmp.o: icmp.c global.h mbuf.h internet.h timer.h iface.h ip.h icmp.h
- icmpcmd.o: icmpcmd.c global.h icmp.h mbuf.h netuser.h internet.h timer.h ping.h
- icmpdump.o: icmpdump.c global.h mbuf.h internet.h icmp.h trace.h
- icmpmsg.o: icmpmsg.c global.h
- iface.o: iface.c iface.h
- ip.o: ip.c global.h mbuf.h timer.h internet.h iface.h ip.h icmp.h
- ipcmd.o: ipcmd.c global.h mbuf.h internet.h timer.h netuser.h iface.h ip.h cmdparse.h
- ipdump.o: ipdump.c global.h mbuf.h internet.h timer.h iface.h ip.h trace.h netuser.h
- iproute.o: iproute.c global.h mbuf.h internet.h timer.h netuser.h ip.h icmp.h iface.h trace.h
- kiss.o: kiss.c global.h mbuf.h iface.h kiss.h
- lapb.o: lapb.c global.h mbuf.h timer.h ax25.h lapb.h
- lapbtime.o: lapbtime.c global.h mbuf.h ax25.h timer.h lapb.h
- lcsum.o: lcsum.c global.h
- # This next line is for the PC
- main.o: main.c config.h global.h mbuf.h netuser.h timer.h icmp.h iface.h ip.h tcp.h ftp.h telnet.h session.h cmdparse.h asy.h trace.h remote.h
- # and this is for the others
- #main.o: main.c config.h global.h mbuf.h netuser.h timer.h icmp.h iface.h ip.h tcp.h ftp.h telnet.h session.h cmdparse.h trace.h
- mbuf.o: mbuf.c global.h mbuf.h
- mulport.o: mulport.c global.h mbuf.h iface.h ax25.h config.h
- netuser.o: netuser.c global.h netuser.h
- nr3.o: nr3.c global.h mbuf.h iface.h timer.h arp.h slip.h ax25.h netrom.h nr4.h lapb.h
- nr4subr.o: nr4subr.c global.h mbuf.h timer.h ax25.h netrom.h nr4.h lapb.h
- nr4timer.o: nr4timer.c global.h mbuf.h timer.h ax25.h netrom.h nr4.h
- nr4.o: nr4.c global.h mbuf.h timer.h ax25.h netrom.h nr4.h
- nr4user.o: nr4user.c global.h mbuf.h timer.h ax25.h netrom.h nr4.h
- nrcmd.o: nrcmd.c global.h config.h mbuf.h ax25.h netrom.h nr4.h timer.h iface.h lapb.h cmdparse.h session.h config.h ax_mbx.h
- nrs.o: nrs.c global.h mbuf.h iface.h ax25.h nrs.h asy.h trace.h
- nrsubr.o: nrsubr.c global.h mbuf.h timer.h ax25.h netrom.h lapb.h
- pc.o: pc.c global.h mbuf.h internet.h iface.h cmdparse.h
- pc100.o: pc100.c global.h mbuf.h iface.h pc100.h 8530.h ax25.h trace.h
- pktdrvr.o: pktdrvr.c global.h mbuf.h enet.h iface.h ec.h timer.h arp.h trace.h regs.h pktdrvr.h
- session.o: session.c config.h global.h mbuf.h netuser.h timer.h tcp.h ax25.h lapb.h ftp.h telnet.h session.h netrom.h nr4.h
- # This next line is for the PC
- slip.o: slip.c global.h mbuf.h iface.h ax25.h slip.h asy.h trace.h
- # and this is for the others
- #slip.o: slip.c global.h mbuf.h iface.h ax25.h slip.h trace.h
- smisc.o: smisc.c global.h mbuf.h netuser.h timer.h tcp.h remote.h
- smtpcli.o: smtpcli.c global.h netuser.h mbuf.h timer.h tcp.h smtp.h trace.h
- smtpserv.o: smtpserv.c global.h mbuf.h netuser.h timer.h tcp.h smtp.h
- tcpcmd.o: tcpcmd.c global.h timer.h mbuf.h netuser.h internet.h tcp.h
- tcpdump.o: tcpdump.c global.h mbuf.h netuser.h internet.h timer.h tcp.h trace.h
- tcpin.o: tcpin.c global.h timer.h mbuf.h netuser.h internet.h tcp.h icmp.h iface.h ip.h
- tcpout.o: tcpout.c global.h timer.h mbuf.h netuser.h internet.h tcp.h
- tcpsubr.o: tcpsubr.c global.h timer.h mbuf.h netuser.h internet.h tcp.h
- tcptimer.o: tcptimer.c global.h timer.h mbuf.h netuser.h internet.h ip.h tcp.h
- tcpuser.o: tcpuser.c global.h timer.h mbuf.h netuser.h internet.h tcp.h
- telnet.o: telnet.c global.h mbuf.h timer.h internet.h icmp.h netuser.h tcp.h telnet.h session.h
- tnserv.o: tnserv.c global.h mbuf.h timer.h internet.h icmp.h netuser.h tcp.h telnet.h session.h
- trace.o: global.h mbuf.h iface.h trace.h
- timer.o: timer.c global.h timer.h
- udp.o: udp.c global.h mbuf.h netuser.h udp.h internet.h
- udpcmd.o: udpcmd.c global.h mbuf.h netuser.h udp.h internet.h
- udpdump.o: udpdump.c global.h mbuf.h netuser.h internet.h udp.h
- version.o: version.c
-